import java.util.Scanner;

public class T2 {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        System.out.println("请输入一个正整数");
        int a=input.nextInt();
        for (int b=2;b<a;b++){
            if (a%b==0){
                System.out.print(b+"*");
                a=a/b;
                b=2;
            }
        }
        System.out.print(a);

    }
}
